// FactoryPattern.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "product.h"
#include "factory.h"

int _tmain(int argc, _TCHAR* argv[])
{
	Factory* factory = new ConcreteFactory();
	Product* product = factory->CreateProduct();
	delete product;
	delete factory;
	return 0;
}

